/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.staf.SnmpTopologyExplorer;

/**
 *
 * @author aezhov
 */
public class Node {
    String mac;
    String description = "[UNKNOWN]";
    String ipString = "[UNKNOWN]";
    String vendor = "[UNKNOWN]";

    public Node(String mac, String ipString, String vendor, String description) {
        if (mac != null)
            this.mac = mac;
        if (ipString != null)
            this.ipString = ipString;
        if (vendor != null)
            this.vendor = vendor;
        if (description != null)
            this.description = description;
    }

    public String getMAC() {
        return mac;
    }

    public String getIP() {
        return ipString;
    }

    public String getDescription() {
        return description;
    }

    public String getVendor() {
        return vendor;
    }
 }
